<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Gestion_Des_Inscriptions_Universitaires:  Fichier source de /home/omid/Bureau/projet/gestion-des-inscriptions-universitaires-version-finale/src/Enseigne.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Gestion_Des_Inscriptions_Universitaires</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&#160;associées</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li><a href="dirs.html"><span>Répertoires</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_enseigne_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Enseigne.h</div>  </div>
</div>
<div class="contents">
<a href="_enseigne_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00007"></a>00007 <span class="preprocessor">#ifndef _ENSEIGNE_H</span>
<a name="l00008"></a>00008 <span class="preprocessor"></span><span class="preprocessor">#define _ENSEIGNE_H</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="comment">/* ********************************************************************* */</span>
<a name="l00012"></a>00012 <span class="comment">/*                                                                       */</span>
<a name="l00013"></a>00013 <span class="comment">/*                       Librairies de ENSEIGNE                       */</span>
<a name="l00014"></a>00014 <span class="comment">/*                                                                       */</span>
<a name="l00015"></a>00015 <span class="comment">/* ********************************************************************* */</span>
<a name="l00016"></a>00016 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &lt;assert.h&gt;</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="preprocessor">#include &quot;<a class="code" href="_enseignant_8h.html" title="Fichier d&#39;entête du module Eenseigant.">Enseignant.h</a>&quot;</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &quot;<a class="code" href="_u_e_8h.html" title="Fichier d&#39;entête du module UE.">UE.h</a>&quot;</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &quot;<a class="code" href="_chemin_8h.html">Chemin.h</a>&quot;</span>
<a name="l00024"></a>00024 
<a name="l00025"></a>00025 <span class="comment">/*Structure de controle sur les ue enseigné par un  enseignant  et  sa  capacité    a   enseigne */</span>
<a name="l00026"></a><a class="code" href="structs_enseigne.html">00026</a> <span class="keyword">struct </span><a class="code" href="structs_enseigne.html">sEnseigne</a>
<a name="l00027"></a>00027 {
<a name="l00028"></a><a class="code" href="structs_enseigne.html#a68e590c6a396507b9b5f4c5b8c6917d9">00028</a> <span class="keywordtype">int</span> <a class="code" href="structs_enseigne.html#a68e590c6a396507b9b5f4c5b8c6917d9">numEns</a>;
<a name="l00029"></a><a class="code" href="structs_enseigne.html#ac73fc570332d581b99e09633a7b662c5">00029</a> <span class="keywordtype">int</span> <a class="code" href="structs_enseigne.html#ac73fc570332d581b99e09633a7b662c5">codeUe</a>;
<a name="l00030"></a><a class="code" href="structs_enseigne.html#ad3b39dd08e409d7f332a0f922a5d95fb">00030</a> <span class="keywordtype">int</span> <a class="code" href="structs_enseigne.html#ad3b39dd08e409d7f332a0f922a5d95fb">ensCm</a>;
<a name="l00031"></a><a class="code" href="structs_enseigne.html#ac667a248ab68e4840a4fb78650bddc76">00031</a> <span class="keywordtype">int</span> <a class="code" href="structs_enseigne.html#ac667a248ab68e4840a4fb78650bddc76">ensTd</a>;
<a name="l00032"></a><a class="code" href="structs_enseigne.html#a29d4205582e0624343a379e306b6ada9">00032</a> <span class="keywordtype">int</span> <a class="code" href="structs_enseigne.html#a29d4205582e0624343a379e306b6ada9">ensTp</a>;
<a name="l00033"></a>00033 };
<a name="l00034"></a>00034 
<a name="l00035"></a><a class="code" href="_enseigne_8h.html#aa52ba08666839c73024f9784e72be38a">00035</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structs_enseigne.html">sEnseigne</a> <a class="code" href="structs_enseigne.html">Enseigne</a>;
<a name="l00036"></a>00036 
<a name="l00037"></a><a class="code" href="structs_tab_enseigne.html">00037</a> <span class="keyword">struct  </span><a class="code" href="structs_tab_enseigne.html">sTabEnseigne</a>
<a name="l00038"></a>00038 {
<a name="l00039"></a><a class="code" href="structs_tab_enseigne.html#a883bf6c06701084d612b26b2c943c816">00039</a>     <a class="code" href="structs_enseigne.html">Enseigne</a>**   <a class="code" href="structs_tab_enseigne.html#a883bf6c06701084d612b26b2c943c816">tabEnseigne</a>;
<a name="l00040"></a><a class="code" href="structs_tab_enseigne.html#a0a597551fd00c3e00a371c6f5d62a51c">00040</a>     <span class="keywordtype">int</span> <a class="code" href="structs_tab_enseigne.html#a0a597551fd00c3e00a371c6f5d62a51c">nbEnseigne</a>;
<a name="l00041"></a>00041 };
<a name="l00042"></a>00042 
<a name="l00043"></a><a class="code" href="_enseigne_8h.html#a20b947f29bbd44a921aa96071cf49082">00043</a> <span class="keyword">typedef</span> <span class="keyword">struct  </span><a class="code" href="structs_tab_enseigne.html">sTabEnseigne</a>    <a class="code" href="structs_tab_enseigne.html">TabEnseigne</a>;
<a name="l00044"></a>00044 <span class="comment">/*return  une   structure   enseigne    initialisé  */</span>
<a name="l00045"></a>00045 <a class="code" href="structs_enseigne.html">Enseigne</a> * <a class="code" href="_enseigne_8c.html#a6577e15ec00baaa69757274a6808a158" title="creEnseigne">creEnseigne</a>(<span class="keywordtype">int</span> numEns,<span class="keywordtype">int</span> codeUe,<span class="keywordtype">int</span> ensCm,<span class="keywordtype">int</span> ensTd,<span class="keywordtype">int</span> ensTp);
<a name="l00046"></a>00046 
<a name="l00047"></a>00047 <span class="comment">/*initialise    une structure   enseigne   non  initialisé */</span>
<a name="l00048"></a>00048 <span class="keywordtype">void</span> <a class="code" href="_enseigne_8c.html#ab5e7a36dace15c2ff713857e77323207" title="initEnseigne">initEnseigne</a>(<a class="code" href="structs_enseigne.html">Enseigne</a>*enseigne,<span class="keywordtype">int</span> numEns,<span class="keywordtype">int</span> codeUe,<span class="keywordtype">int</span> ensCm,<span class="keywordtype">int</span> ensTd,<span class="keywordtype">int</span> ensTp);
<a name="l00049"></a>00049 
<a name="l00050"></a>00050 <span class="keywordtype">void</span> <a class="code" href="_enseigne_8c.html#ae315e5a0d154bef1c6db07af8669f713">libereEnseigne</a>(<a class="code" href="structs_enseigne.html">Enseigne</a>*enseigne);
<a name="l00051"></a>00051 
<a name="l00052"></a>00052 <span class="keywordtype">void</span> <a class="code" href="_enseigne_8c.html#a284ccd2655eb5df5e775c6c5cf9ea3e9">detEnseigne</a>(<a class="code" href="structs_enseigne.html">Enseigne</a> ** enseigne);
<a name="l00053"></a>00053 
<a name="l00054"></a>00054 <span class="comment">/*Sauvegarde une    structure   enseigne*/</span>
<a name="l00055"></a>00055 <span class="keywordtype">void</span> <a class="code" href="_enseigne_8c.html#ae31eaa6d10791ea2ae9672fa84af53b1" title="saveEnseigne">saveEnseigne</a>(<a class="code" href="structs_enseigne.html">Enseigne</a>*enseigne);
<a name="l00056"></a>00056 
<a name="l00057"></a>00057 <span class="comment">/*Sauvegarde les    attributs  d&#39;une    structure   enseigne         */</span>
<a name="l00058"></a>00058 <span class="keywordtype">void</span> <a class="code" href="_enseigne_8c.html#a52a8f9a503d733fd27cfde791fc8fc7d" title="saveEnseigneParElement">saveEnseigneParElement</a>(<span class="keywordtype">int</span> numEns,<span class="keywordtype">int</span> codeUe,<span class="keywordtype">int</span> ensCm,<span class="keywordtype">int</span> ensTd,<span class="keywordtype">int</span> ensTp);
<a name="l00059"></a>00059 
<a name="l00060"></a>00060 <span class="comment">/*retourne  les enseigants  d&#39;une  ue*/</span>
<a name="l00061"></a>00061 <a class="code" href="structs_tab_enseignant.html" title="Structure utilisée pour la gestion d&#39;une Ens.">TabEnseignant</a>* <a class="code" href="_enseigne_8c.html#a68fe748fc13a221385992e7c4a3729c0">recEnseignantParUe</a>(<a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> *ue);
<a name="l00062"></a>00062 
<a name="l00063"></a>00063 <a class="code" href="structs_tab_enseignant.html" title="Structure utilisée pour la gestion d&#39;une Ens.">TabEnseignant</a> *<a class="code" href="_enseigne_8c.html#a36464e95bdb7174b6cd98c390035c846" title="recEnseigantParUE">recEnseignantParCodeUE</a>(<span class="keywordtype">int</span> codeUe);
<a name="l00064"></a>00064 
<a name="l00065"></a>00065 <span class="comment">/*retourne  les ue  enseigné    par un  enseigant*/</span>
<a name="l00066"></a>00066 <a class="code" href="structs_tab_ue.html" title="Structure utilisée pour la gestion d&#39;une UE.">TabUe</a>   *   <a class="code" href="_enseigne_8c.html#a2608c877c398c74c841f4f9ecd263ff5">recUeEnseigne</a>(<a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a> *<a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a>);
<a name="l00067"></a>00067 
<a name="l00068"></a>00068 <a class="code" href="structs_tab_ue.html" title="Structure utilisée pour la gestion d&#39;une UE.">TabUe</a>* <a class="code" href="_enseigne_8c.html#a9a96e3cef9a4ccaf112d4cf68d14bf0c" title="recUeEnseigne">recUeEnseigneParNumEns</a>(<span class="keywordtype">int</span> numEns);
<a name="l00069"></a>00069 
<a name="l00070"></a>00070 <a class="code" href="structs_tab_enseigne.html">TabEnseigne</a>*    <a class="code" href="_enseigne_8c.html#a6f7571b4b9a5834b8e9f51dfc1266280" title="recEnseigne">recEnseigne</a>(<a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a>*ens);
<a name="l00071"></a>00071 
<a name="l00072"></a>00072 <a class="code" href="structs_tab_enseigne.html">TabEnseigne</a>*    <a class="code" href="_enseigne_8c.html#a5a118afd9960db7b8a6180ce660b1591" title="resEnseigneParNumEns">recEnseigneParNumEns</a>(<span class="keywordtype">int</span>    numEns);
<a name="l00073"></a>00073 
<a name="l00074"></a>00074 <a class="code" href="structs_enseigne.html">Enseigne</a>* <a class="code" href="_enseigne_8c.html#aebb40058e2cbe8e7073a52273dbbecec" title="recEnseigneParCodeUeNumEns">recEnseigneParCodeUeNumEns</a>(<span class="keywordtype">int</span> numEns,<span class="keywordtype">int</span> codeUe);
<a name="l00075"></a>00075 
<a name="l00076"></a>00076 
<a name="l00077"></a>00077 <span class="keywordtype">int</span> <a class="code" href="_enseigne_8c.html#a50143c293ec451578135464300068d59">modifEnseigne</a>(<a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a>*enseignant,<a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a>*ue,<span class="keywordtype">int</span> ensCM,<span class="keywordtype">int</span> ensTD,<span class="keywordtype">int</span> ensTP);
<a name="l00078"></a>00078 
<a name="l00079"></a>00079 
<a name="l00080"></a>00080 <span class="keywordtype">int</span>  <a class="code" href="_enseigne_8c.html#ac9fda81c206d9fe88c16e8fb5c865558" title="modifEnseigneUeEns">mdfEnseigne</a>(<a class="code" href="structs_enseigne.html">Enseigne</a> *enseigne,<span class="keywordtype">int</span> ensCm,<span class="keywordtype">int</span> ensTd,<span class="keywordtype">int</span> ensTp);
<a name="l00081"></a>00081 
<a name="l00082"></a>00082 <span class="keywordtype">int</span>  <a class="code" href="_enseigne_8c.html#ab7d79357d6b074827793b8e0f9a4afc2" title="modifEnseigneUeEnsParElement">mdfEnseigneParElement</a>(<span class="keywordtype">int</span> numEns,<span class="keywordtype">int</span> codeUe,<span class="keywordtype">int</span> ensCm,<span class="keywordtype">int</span> ensTd,<span class="keywordtype">int</span> ensTp);
<a name="l00083"></a>00083 
<a name="l00084"></a>00084 <span class="keywordtype">void</span>  <a class="code" href="_enseigne_8c.html#aa563c8b3d74a3603cfa2a945fe444d7d" title="saveEnseignePourUe">saveEnseignePourUe</a>(<a class="code" href="struct_ens.html" title="Structure utilisée pour la gestion d&#39;une Ens.">Ens</a>*enseignant,<a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a>*ue,<span class="keywordtype">int</span>  ensCM,<span class="keywordtype">int</span>   ensTD,<span class="keywordtype">int</span>   ensTP);
<a name="l00085"></a>00085 
<a name="l00086"></a>00086 <span class="keywordtype">int</span> <a class="code" href="_enseigne_8c.html#ada5395b7c500d8f249a3fadb3dc8be74">supEnseigne</a>( <a class="code" href="structs_enseigne.html">Enseigne</a>*enseigne);
<a name="l00087"></a>00087 
<a name="l00088"></a>00088 <span class="keywordtype">int</span> <a class="code" href="_enseigne_8c.html#af41ee8485142fb8624b8cc492b826e3f">supEnseigneParId</a>( <span class="keywordtype">int</span>  numEns,<span class="keywordtype">int</span>  codeUe );
<a name="l00089"></a>00089 
<a name="l00090"></a>00090 <span class="keywordtype">int</span> <a class="code" href="_enseigne_8h.html#af78b2da62dd9eab0a9c429c5c31f12d9">getNbGroupeUe</a>(<a class="code" href="struct_u_e.html" title="Structure utilisée pour la gestion d&#39;une UE.">UE</a> *ue);
<a name="l00091"></a>00091 
<a name="l00092"></a>00092 
<a name="l00093"></a>00093 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_enseigne_8h.html">Enseigne.h</a>      </li>
      <li class="footer">Généré le Thu Jun 7 2012 17:01:10 pour Gestion_Des_Inscriptions_Universitaires par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>
